package equipment;

import java.awt.*;

//import java.awt.event.*;
import main.*;

public class ElvenBlade extends Equipment {
	
	public ElvenBlade() {
		options = new Choice();
		options.setName("Equipment Options");
		options.add("One Handed");
		options.add("Two Handed");
	}
	
	public void applyOptions () {
		if (options.getSelectedItem().equals("Two Handed")) {
			owner.setBattleBonus(-1);
			owner.setWoundBonus(1);
		}
	}
	
	public void equipTo(Unit u) {
		this.owner = u;
	}
	
	public String toString() {
		return "ElvenBlade";
	}
}